package com.you.base.main;

import java.lang.instrument.Instrumentation;

public class Main {
    private static final Runtime runtime = Runtime.getRuntime();

    private static volatile Instrumentation instru;


    public static void main(String[] args) {
        System.out.println(runtime.totalMemory() - runtime.freeMemory());
        byte[] bf = new byte[1024];
        bf[100] = 100;
        char a = 'A';
        System.out.println(bf[100] + "," + new String(a + "").getBytes());
        System.out.println(runtime.totalMemory() - runtime.freeMemory());
    }
}
